
log:= ../../thirdparty/log.c ../../thirdparty/log.h
process_01: process_01.c
	-gcc $(CFLAGS) -o $@  $^ 
	./process_01
	rm -f $@ 

exit_02: exit_02.c
	-gcc $(CFLAGS) -o $@  $^
	./exit_02
	rm -f $@

execve_03: execve_03.c
	-gcc $(CFLAGS) -o $@  $^
	./execve_03
	rm -f $@


redirect_04: redirect_04.c $(log)
	-gcc $(CFLAGS) -o $@  $^  -I../../thirdparty
	./redirect_04
	rm -f $@